<?php /* Smarty version 2.6.18, created on 2013-02-04 19:29:41
         compiled from modules/news.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', 'modules/news.tpl', 10, false),array('modifier', 'date_format', 'modules/news.tpl', 14, false),)), $this); ?>
<?php if ($_GET['id'] == ""): ?>
	<div class="contenidoNoticias">
		<h2>Noticias</h2>
	</div>
	
	<?php $_from = $this->_tpl_vars['news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['news']):
?>
		<div class="news">
			<h3>
				<a href="sites.php?act=news&id=<?php echo $this->_tpl_vars['news']['id']; ?>
">
					<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>

				</a>
			</h3>
			
			<i><?php echo ((is_array($_tmp=$this->_tpl_vars['news']['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp)); ?>
</i>          			
		</div>
	<?php endforeach; endif; unset($_from); ?>
<?php else: ?>
	<div class="contenidoNoticias">
		<h1><?php echo ((is_array($_tmp=$this->_tpl_vars['news']['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</h1>
		<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp)); ?>

	
		<div>
			<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['content'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
 
		</div>
	
		<div class="volverNoticias">
			<a href="sites.php?act=news">
				<?php echo $this->_tpl_vars['lang']['news_back']; ?>

			</a>
		</div>
	</div>
<?php endif; ?>
	
	
	
	
